home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20031118-20041115 / 000415_robertls@nortelnetworks.com_Tue Oct 19 14:20:04 2004.msg < prev    next >
Internet Message Format  |  2004-11-14  |  2KB

  1. Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!newsfeed3.dallas1.level3.net!news.level3.com!newsfeed1.easynews.com!easynews.com!easynews!sjc1.usenetserver.com!news.usenetserver.com!cyclone.bc.net!nrc-news.nrc.ca!utnut!qcarhaaa.nortelnetworks.com!bcarh189.ca.nortel.com!zcars0v6!not-for-mail
  2. From: "Robert Simmons" <robertls@nortelnetworks.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Kermit Script Output Out of Order
  5. Date: Tue, 19 Oct 2004 00:48:05 -0500
  6. Organization: Nortel
  7. Lines: 18
  8. Message-ID: <cl29ql$dm7$1@zcars0v6.ca.nortel.com>
  9. NNTP-Posting-Host: robertls-1.us.nortel.com
  10. X-Trace: zcars0v6.ca.nortel.com 1098164886 14023 47.102.125.229 (19 Oct 2004 05:48:06 GMT)
  11. X-Complaints-To: hawkinsj@nortelnetworks.com
  12. NNTP-Posting-Date: Tue, 19 Oct 2004 05:48:06 +0000 (UTC)
  13. X-Priority: 3
  14. X-MSMail-Priority: Normal
  15. X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
  16. X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15198
  18.  
  19. Hopefully this group is still monitored...
  20.  
  21. I have been developing a kermit script.  I have found that when a run the
  22. script normally from a linux prompt that the output is mostly in order.  But
  23. if I fork a process and run the script from a C++ program the output is in
  24. realtime for the AT responces but the script echo lines and the help text
  25. output is not dumped until the process is killed or dies.
  26.  
  27. I notices the same order of output with the stdout redirected and captured
  28. to a file at the linux command prompt.
  29.  
  30. Anyone know why? And how to get the output os the echo statements to be dump
  31. before the script dies or is killed?
  32.  
  33. Thanks,
  34. Robert
  35.  
  36.